package com.wuren;

import org.apache.catalina.connector.Connector;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration;
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
import org.springframework.boot.web.servlet.server.ServletWebServerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication
@EnableAutoConfiguration(exclude = { FreeMarkerAutoConfiguration.class })
@MapperScan({"com.wuren.faceSwiping.*.mapper","com.wuren.faceSwiping.*.*.mapper"})
@ComponentScan(basePackages = {"com.wuren.faceSwiping"})
public class ApplicationMainBoot {
    public static void main(String[] args) {
        SpringApplication.run(ApplicationMainBoot.class,args);
    }
}
